const orderOnUpdateData = {
    "name": "订货商订单信息",
    "id": "indentorOrderInfo",
    "type": 4,
    "response_data": [
        {
            "订单编号": "orderCode_101",
            "订单地址": "北京市朝阳区高碑店001",
            "订单姓名": "小智-张三",
            "订单日期": 20210421,
            "到货日期": 20210429
        },
        {
            "订单编号": "orderCode_201",
            "订单地址": "北京市朝阳区高碑店002",
            "订单姓名": "小智-李四",
            "订单日期": 20210421,
            "到货日期": 20210429
        },
        {
            "订单编号": "orderCode_301",
            "订单地址": "北京市朝阳区高碑店003",
            "订单姓名": "小智-王五",
            "订单日期": 20210421,
            "到货日期": 20210429
        }
    ]
}
const orderItemOnUpdateData  =    {
    name: "订单详情",
    id: "订单详情id",
    type:4,
    response_data: [
        {
            "订单编号": "orderCode_101",
            "商品编码": "p01",
            "商品名称": "笔记本电脑",
            "定价": 6500,
            "销售数据量": "10个",
            "付款金额": 65000,
            "销售时间":20210421
        },
        {
            "订单编号": "orderCode_101",
            "商品编码": "p02",
            "商品名称": "台式机电脑",
            "定价": 5500,
            "销售数据量": "10个",
            "付款金额": 55000,
            "销售时间":20210421
        },
        {
            "订单编号": "orderCode_101",
            "商品编码": "p03",
            "商品名称": "华为PURA",
            "定价": 6900,
            "销售数据量": "10个",
            "付款金额": 69000,
            "销售时间":20210421
        },
        {
            "订单编号": "orderCode_101",
            "商品编码": "p04",
            "商品名称": "小米手机",
            "定价": 3900,
            "销售数据量": "10个",
            "付款金额": 39000,
            "销售时间":20210421
        },
        {
            "订单编号": "orderCode_101",
            "商品编码": "p05",
            "商品名称": "荣耀收机",
            "定价": 4600,
            "销售数据量": "10个",
            "付款金额": 46000,
            "销售时间":20210421
        },
        {
            "订单编号": "orderCode_101",
            "商品编码": "p06",
            "商品名称": "vivo手机",
            "定价": 2300,
            "销售数据量": "10个",
            "付款金额": 23000,
            "销售时间":20210421
        },
        {
            "订单编号": "orderCode_101",
            "商品编码": "p07",
            "商品名称": "mate30",
            "定价": 2300,
            "销售数据量": "10个",
            "付款金额": 23000,
            "销售时间":20210421
        },
        {
            "订单编号": "orderCode_101",
            "商品编码": "p08",
            "商品名称": "mate305g",
            "定价": 2300,
            "销售数据量": "10个",
            "付款金额": 23000,
            "销售时间":20210421
        },
        {
            "订单编号": "orderCode_101",
            "商品编码": "p09",
            "商品名称": "mate30Pro",
            "定价": 2300,
            "销售数据量": "10个",
            "付款金额": 23000,
            "销售时间":20210421
        },
        {
            "订单编号": "orderCode_101",
            "商品编码": "p10",
            "商品名称": "mate305GPro",
            "定价": 2300,
            "销售数据量": "10个",
            "付款金额": 23000,
            "销售时间":20210421
        },
        {
            "订单编号": "orderCode_101",
            "商品编码": "p11",
            "商品名称": "mate40",
            "定价": 2300,
            "销售数据量": "10个",
            "付款金额": 23000,
            "销售时间":20210421
        },
        {
            "订单编号": "orderCode_101",
            "商品编码": "p12",
            "商品名称": "mate40Pro",
            "定价": 2300,
            "销售数据量": "10个",
            "付款金额": 23000,
            "销售时间":20210421
        },
        {
            "订单编号": "orderCode_101",
            "商品编码": "p13",
            "商品名称": "mate50",
            "定价": 2300,
            "销售数据量": "10个",
            "付款金额": 23000,
            "销售时间":20210421
        },
        {
            "订单编号": "orderCode_101",
            "商品编码": "p14",
            "商品名称": "mate60",
            "定价": 2300,
            "销售数据量": "10个",
            "付款金额": 23000,
            "销售时间":20210421
        },

        {
            "订单编号": "orderCode_201",
            "商品编码": "p01",
            "商品名称": "笔记本电脑",
            "定价": 6500,
            "销售数据量": "10个",
            "付款金额": 65000,
            "销售时间":20210421
        },
        {
            "订单编号": "orderCode_201",
            "商品编码": "p02",
            "商品名称": "台式机电脑",
            "定价": 5500,
            "销售数据量": "10个",
            "付款金额": 55000,
            "销售时间":20210421
        },
        {
            "订单编号": "orderCode_201",
            "商品编码": "p03",
            "商品名称": "华为PURA",
            "定价": 6900,
            "销售数据量": "10个",
            "付款金额": 69000,
            "销售时间":20210421
        },
        {
            "订单编号": "orderCode_201",
            "商品编码": "p04",
            "商品名称": "小米手机",
            "定价": 3900,
            "销售数据量": "10个",
            "付款金额": 39000,
            "销售时间":20210421
        },
        {
            "订单编号": "orderCode_201",
            "商品编码": "p05",
            "商品名称": "荣耀收机",
            "定价": 4600,
            "销售数据量": "10个",
            "付款金额": 46000,
            "销售时间":20210421
        },
        {
            "订单编号": "orderCode_201",
            "商品编码": "p06",
            "商品名称": "vivo手机",
            "定价": 2300,
            "销售数据量": "10个",
            "付款金额": 23000,
            "销售时间":20210421
        },
        {
            "订单编号": "orderCode_301",
            "商品编码": "p01",
            "商品名称": "笔记本电脑",
            "定价": 6500,
            "销售数据量": "10个",
            "付款金额": 65000,
            "销售时间":20210421
        },
        {
            "订单编号": "orderCode_301",
            "商品编码": "p02",
            "商品名称": "台式机电脑",
            "定价": 5500,
            "销售数据量": "10个",
            "付款金额": 55000,
            "销售时间":20210421
        },
        {
            "订单编号": "orderCode_301",
            "商品编码": "p03",
            "商品名称": "华为PURA",
            "定价": 6900,
            "销售数据量": "10个",
            "付款金额": 69000,
            "销售时间":20210421
        },
        {
            "订单编号": "orderCode_301",
            "商品编码": "p04",
            "商品名称": "小米手机",
            "定价": 3900,
            "销售数据量": "10个",
            "付款金额": 39000,
            "销售时间":20210421
        },

    ]
}

export const get_onupdatedatamaps =()=>{
    let onupdatedatamaps = new Map();

    onupdatedatamaps.set(orderOnUpdateData.name, {
        name:orderOnUpdateData.name,
        id:orderOnUpdateData.id,
        type:orderOnUpdateData.type,
        response_data:Array.from(orderOnUpdateData.response_data),
    });

    onupdatedatamaps.set(orderItemOnUpdateData.name, {
        name:orderItemOnUpdateData.name,
        id:orderItemOnUpdateData.id,
        type:orderItemOnUpdateData.type,
        response_data:Array.from(orderItemOnUpdateData.response_data),
    });
    console.log(".........................返回的onupdatedatamaps...",onupdatedatamaps);
    return onupdatedatamaps;
}